package br.com.mumakgnod.teste;

import java.io.File;

import br.com.mumakgnod.engine.SpriteJFrame;
import br.com.mumakgnod.engine.Strings;

public class Character extends SpriteJFrame {
	private static final long serialVersionUID = -7835354613907011085L;

	public Character() {
		super(new File(Strings.getString("Character.FILE_PATH")), 3, 4);
	}

	@Override
	public void doAndar() {
		switch (getHeading()) {
		case S:
			setActualFrame((getActualFrame()==1)?3:1);
			break;
		case O:
			setActualFrame((getActualFrame()==4)?6:4);
			break;
		case E:
			setActualFrame((getActualFrame()==7)?9:7);
			break;
		case N:
			setActualFrame((getActualFrame()==10)?12:10);
			break;
		default:
			break;
		}
		// TODO Auto-generated method stub
	}

	@Override
	protected void doParar() {
		// TODO Auto-generated method stub
	}

	@Override
	protected void doRecuar() {
		// TODO Auto-generated method stub
	}

	@Override
	protected void doGolpear() {
		// TODO Auto-generated method stub
	}

	@Override
	protected void doMagia() {
		// TODO Auto-generated method stub
	}

}